package cn.liontalk.api;

/**
 * @author ZhouZhe
 * @version 1.0
 * @description 测试Ribbon
 * @date 2018-12-02 13:23
 **/

import cn.liontalk.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {


    @Autowired
    private HelloService helloService;

    @GetMapping(value = {"/hi","hello"})
    public String testHi(){
        return helloService.helloService();
    }


}
